package com.zp.base.entity.bo;

import com.zp.common.core.validate.AddGroup;
import com.zp.common.core.validate.EditGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 诊疗项目与价对照业务对象
 *
 * @author zhang peng
 * @date 2023-01-09
 */

@Data
public class ClinicVsPriceBo {

    /**
     * 诊疗项目id
     */
    @NotBlank(message = "诊疗项目id不能为空", groups = {EditGroup.class})
    private String clinicItemId;

    /**
     * 价表id
     */
    @NotBlank(message = "价表id不能为空", groups = {AddGroup.class, EditGroup.class})
    private String priceId;

    /**
     * 数量
     */
    @NotNull(message = "数量不能为空", groups = {AddGroup.class, EditGroup.class})
    private Long amount;


}
